﻿namespace ClassLibrary.DataLayer.DataObjects
{
    using ClassLibrary.BusinessLayer.BusinessObjects;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Common;

    public interface IProductDAO
    {
        bool DeleteProduct(Product clsProduct);
        IList<Product> GetProduct(Product clsProduct);
        IList<Product> GetProduct(string product);
        IList<Product> GetsProduct();
        DataTable GetsProduct(string SPName, DbParameter[] param);
        bool InsertProduct(Product clsProduct);
        int InsertProductReturnIdentity(Product clsProduct);
        string InsertProductReturnOutput(Product clsProduct);
        IList<Product> ListProduct(Product clsProduct);
        IList<Product> ListProduct(string product);
        bool UpdateProduct(Product clsProduct);
        int UpdateProduct(string SPName, DbParameter[] param);
    }
}

